﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EduseKiosk
{
    public partial class HelpView : ViewControl
    {
        public HelpView()
        {
            InitializeComponent();
        }

        private void HelpView_Load(object sender, EventArgs e)
        {
            FormEduseKiosk form = FormEduseKiosk.Instance;

            form.LeftBarThumbnailsActive = false;
            form.LeftBarHidden.Enabled = false;
            form.TopBar.Enabled = false;
            form.NavBar.Enabled = false;
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            FormEduseKiosk form = FormEduseKiosk.Instance;

            form.LeftBarHidden.Enabled = true;
            form.TopBar.Enabled = true;
            form.NavBar.Enabled = true;

            form.SwitchToPreviousView();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            button1.Visible = button1.Enabled = false;
            textBox1.Visible = textBox1.Enabled = true;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            button2.Visible = button2.Enabled = false;
            textBox2.Visible = textBox2.Enabled = true;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            button3.Visible = button3.Enabled = false;
            textBox3.Visible = textBox3.Enabled = true;
        }

        private void button4_Click(object sender, EventArgs e)
        {
            button4.Visible = button4.Enabled = false;
            textBox4.Visible = textBox4.Enabled = true;
        }
    }
}
